"""
数据模型模块
导入所有数据模型
"""

# 基础模型
from .base import BaseModel, TimestampMixin, SoftDeleteMixin

# 用户和权限模型
from .user import User, Role, Permission, UserSession

# 客户模型
from .customer import Customer, CustomerContact, CustomerAddress

# 货物模型
from .cargo import CargoCategory, Cargo, CargoImage, CargoAttribute

# 装备和仓库模型
from .equipment import EquipmentCategory, Equipment, Warehouse, WarehouseZone

# 追踪模型
from .tracking import TrackingDevice, LocationHistory, GeofenceArea, GeofenceEvent

# 监控和分析模型
from .monitoring import (
    SensorData, Alert, AlertRule, RiskAssessment, AnomalyDetection
)

# 所有模型列表
__all__ = [
    # 基础模型
    "BaseModel", "TimestampMixin", "SoftDeleteMixin",

    # 用户和权限
    "User", "Role", "Permission", "UserSession",

    # 客户
    "Customer", "CustomerContact", "CustomerAddress",

    # 货物
    "CargoCategory", "Cargo", "CargoImage", "CargoAttribute",

    # 装备和仓库
    "EquipmentCategory", "Equipment", "Warehouse", "WarehouseZone",

    # 追踪
    "TrackingDevice", "LocationHistory", "GeofenceArea", "GeofenceEvent",

    # 监控和分析
    "SensorData", "Alert", "AlertRule", "RiskAssessment", "AnomalyDetection",
]
